package com.dyz.service;

import com.dyz.domain.SysMenu;
import com.dyz.domain.SysPrivilege;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限配置 服务类
 * </p>
 *
 * @author dyz
 * @since 2025-04-19
 */
public interface ISysPrivilegeService extends IService<SysPrivilege> {
    /**
     * 查询该菜单下的所有权限
     * @param menuId
     * @param roleId
     * @return
     */
    List<SysPrivilege> getRolePrivileges(Long menuId, Long roleId);
}
